package C040;

/**
 * ClassName: C03_Test
 * Package: C040
 * Description:
 *
 * @Author BCXJ
 * @Create 2025/2/1 22:31
 * @Version 1.0
 * @Since 1.0
 */
public class C03_Test {
    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        System.out.println("数组的解决14皇后问题: " + C01.process(new int[14], 0));
        long end = System.currentTimeMillis();
        System.out.println("数组耗时为: " + (end - start) + "ms");
        start = System.currentTimeMillis();
        System.out.println("位运算的解决14皇后问题: " + C02.totalNQueens(14));
        end = System.currentTimeMillis();
        System.out.println("位运算耗时为：" + (end - start) + "ms");


        start = System.currentTimeMillis();
        System.out.println("位运算的解决16皇后问题: " + C02.totalNQueens(16));
        end = System.currentTimeMillis();
        System.out.println("位运算耗时为：" + (end - start) + "ms");
    }
}
